package util.hadoop;

import static org.junit.Assert.*;

import org.apache.hadoop.conf.Configuration;
import org.junit.Test;

public class HDFSUtilTest {

	@Test
	public void test() {
		Configuration conf = new Configuration();
		conf.set("fs.defaultFS", "hdfs://localhost:9000");
		HDFSUtil hdfsUtil = new HDFSUtil(conf);
		hdfsUtil.getUserIp();
	}

}
